package com.foreknow.eldclient.service;

import com.foreknow.eldclient.po.Orders;

import java.util.List;

public interface OrdersService {
    public int createOrders(Orders orders) throws Exception;
    public Orders getOrdersById(Integer orderId) throws Exception;
    public List<Orders> listOrdersByUserId(String userId) throws Exception;
    public int updateOrderState(Integer orderId) throws  Exception;
    int updateDeliState(int orderId);
    List<Orders> listBusinessOrders(int businessId);
}
